package com.exp.bookhouse.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


@ApiModel("ip记录实体类IPRecord")
@TableName("tb_ip_record")
public class IPRecord implements Serializable {

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "更新时间",hidden = true)
    private Date updateTime;

    public IPRecord() {
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "IPRecord{" +
                "ip='" + ip + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
